fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

exclusive_when

mutate.exclusive_when

(R 
type
, C 
type
:
Function, F 
type
: Function R, condition C, code F)
 => 
R
exclusively wait for the given condition to hold and then perform given code with
exclusive access to the mutable values created with this instance of `mutate`.
Precondition
pre
  safety: exclusive_allowed

Type Parameters

0.099dev (GIT hash a68bce9af280552faedee34cd5433dc10b6454de)
last changed: 2026-10-14